#include "friend_study.h"

#include <iostream>

using namespace std;


void Friend::readBase(Base &base)
{
    cout << "Friend正在输出Base的私有数据 " << base.baseData << endl; 
}

Base::Base(int baseData)
{
    this->baseData = baseData;
}


void printBaseData(Base &base)
{
    cout << "printBaseData正在输出Base的私有数据 " << base.baseData << endl; 

}

void Friend1::printBaseData( Base &base)
{
    cout << "Friend1::printBaseData正在输出Base的私有数据 " << base.baseData << endl; 

}